import { ProDescriptions } from '@ant-design/pro-components';

export default (props) => {
  const { title, actionRef, request, children, ...rest } = props;
  return (
    <div>
      <ProDescriptions
        actionRef={actionRef}
        title={title}
        request={request}
        // extra={<Button type="link">修改</Button>}
        {...rest}
      >
        {children}
      </ProDescriptions>
    </div>
  );
};
